package com.ruoyi.cbx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 燃料商品
对象 tb_fuel_product
 * 
 * @author Winston
 * @date 2025-08-14
 */
public class FuelProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long productId;

    /** 燃料名称 */
    @Excel(name = "燃料名称")
    private String productName;

    /** 燃料种类 */
    @Excel(name = "燃料种类")
    private String fuelType;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal pricePerUnit;

    /** 规格说明（如浓度） */
    @Excel(name = "规格说明", readConverterExp = "如=浓度")
    private String spec;

    /** 售卖状态 */
    @Excel(name = "售卖状态")
    private String status;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setFuelType(String fuelType) 
    {
        this.fuelType = fuelType;
    }

    public String getFuelType() 
    {
        return fuelType;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setPricePerUnit(BigDecimal pricePerUnit) 
    {
        this.pricePerUnit = pricePerUnit;
    }

    public BigDecimal getPricePerUnit() 
    {
        return pricePerUnit;
    }

    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("fuelType", getFuelType())
            .append("unit", getUnit())
            .append("pricePerUnit", getPricePerUnit())
            .append("spec", getSpec())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
